//- Copyright (c) 2016 Lucky Byte, Inc.
if notify.terms_wait_effect && notify.terms_wait_effect.length > 0
  .comment.notify.progress(style="margin-right:20px;")
    .avatar
      i.big.icon.alarm.outline
    .content
      .author 进度通知
      .text 您复核的 <em>#{notify.terms_wait_effect.length} 条终端信息</em> 
        | 尚未生效 ...
      .actions
        a.reply(href="/terms") 转到终端管理页面
        a.reply#expand(href="#") 显示详情

      table.ui.table.celled.very.basic.small
        thead
          th.center.aligned.collapsing 序号
          th.center.aligned.collapsing 修改方式
          th.center.aligned.collapsing 修改时间
          th.center.aligned.collapsing 终端编号
          th.center.aligned.collapsing 商户编号
          th.center.aligned.collapsing 商户名称
          th.center.aligned.collapsing 生效时间
          th.center.aligned 备 注
        tbody
          each term in notify.terms_wait_effect
            tr
              td.center.aligned.collapsing
                a(href="/terms")= term.serial
              case term.action
                when 1
                  td.center.aligned.collapsing 新增
                when 2
                  td.center.aligned.collapsing 变更
                when 3
                  td.center.aligned.collapsing 删除
              td.center.aligned.collapsing
                = term.input_time.format('YYYY-MM-DD HH:mm:ss')
              td.center.aligned.collapsing= term.termid
              td.center.aligned.collapsing= term.mer_no
              td.center.aligned.collapsing= term.mer_name
              td.center.aligned.collapsing
                = term.effect_time.format('YYYY-MM-DD HH:mm:ss')
              td= term.notes
